package com.sfj.system.mapper;

import com.sfj.system.entity.FuncEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author kaka
 * @Date 2025/06/28
 */
@Mapper
public interface FuncMapper {
    /**
     * 根据角色ID获取功能菜单
     */
    List<FuncEntity> selectFuncByRoleId(@Param("roleId") Integer roleId);
    //查询所有菜单
    List<FuncEntity> query(@Param("roleId") FuncEntity funcEntity);
}

